package com.dragon.graduation.projectApplication.controller.dto;

import com.dragon.bean.SerializableDTO;
import com.dragon.util.QueryType;
import com.dragon.util.Search;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.dragon.results.util.response.PageVO;
import lombok.*;

import java.util.List;

/**
 * <p>
 * 选题申请表 查询参数对象
 * </p>
 *
 * @author dragon
 * @since 2025-02-28 21:20:09
 */

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
@ApiModel("选题申请表 查询参数对象")
public class ProjectApplicationSearchDTO extends SerializableDTO<ProjectApplicationSearchDTO> {
    /**
     * 学生ID
     */
    @ApiModelProperty("学生ID")
    @Search(propName = "studentId", type = QueryType.EQUAL,blurry = "")
    private Integer studentId;
    /**
     * 题目ID
     */
    @ApiModelProperty("题目ID")
    @Search(propName = "projectId", type = QueryType.IN,blurry = "")
    private List<Integer> projectId;

    /**
     * 题目名称
     */
    @ApiModelProperty("题目名称")
    private String projectName;
    /**
     * 审核状态
     */
    @ApiModelProperty("审核状态")
    @Search(propName = "status", type = QueryType.EQUAL,blurry = "")
    private Integer status;
    /**
     * 分页参数
     */
    @ApiModelProperty("分页参数")
    private PageVO page;
}